package com.ruoyi.project.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 学期信息对象 student
 * 
 * @author ruoyi
 * @date 2024-02-24
 */
public class Student extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学期信息ID */
    private Long id;

    /** 学生姓名 */
    @Excel(name = "学生姓名")
    private String name;

    /** 课程属性 */
    @Excel(name = "课程属性")
    private Long age;

    /** 学期ID */
    @Excel(name = "学期ID")
    private Long semesterId;

    /** 课程名称 */
    @Excel(name = "课程名称")
    private String semesterName;

    /** 学分 */
    @Excel(name = "学分")
    private Integer score;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setSemesterId(Long semesterId) 
    {
        this.semesterId = semesterId;
    }

    public Long getSemesterId() 
    {
        return semesterId;
    }
    public void setSemesterName(String semesterName) 
    {
        this.semesterName = semesterName;
    }

    public String getSemesterName() 
    {
        return semesterName;
    }
    public void setScore(Integer score) 
    {
        this.score = score;
    }

    public Integer getScore() 
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("age", getAge())
            .append("semesterId", getSemesterId())
            .append("semesterName", getSemesterName())
            .append("score", getScore())
            .toString();
    }
}
